package cc.wanforme.text2class.entity;


/** 运行过程中的一些基础信息和配置 */
public class AnalysisConfig {
    /** 是否去掉多个空格的无效数据（多个空格连续） */
    boolean mergeWhiteSpace = true;

    private ClassConfig classConfig;

    public AnalysisConfig() {
        this(true, new ClassConfig());
    }
    public AnalysisConfig(boolean mergeWhiteSpace, ClassConfig classConfig) {
        this.mergeWhiteSpace = mergeWhiteSpace;
        this.classConfig = classConfig;
    }

    public boolean isMergeWhiteSpace() {
        return mergeWhiteSpace;
    }

    public void setMergeWhiteSpace(boolean mergeWhiteSpace) {
        this.mergeWhiteSpace = mergeWhiteSpace;
    }

    public ClassConfig getClassConfig() {
        return classConfig;
    }

    public void setClassConfig(ClassConfig classConfig) {
        this.classConfig = classConfig;
    }

}
